﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


namespace TestWyEmr
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string output ="";
            WyzyyJK.EMR emr = new WyzyyJK.EMR();
            int iRet = emr.DoAction(richTextBox1.Text, ref output);
            richTextBox2.Text = output;
            if (iRet < 0)
            {
                
                //终止后续操作
                return;
            }

            //后续操作
        }
    }
}
